#ifndef __SERVERADMIN_H__
#define __SERVERADMIN_H__
#include "StdTcp.h"
#include "DoubleLinkList.h"
struct Message
{
    char myname[10];
    char password[10];
    char toname[10];
    char group[10];
    char filename[20];
    char content[1024];
    int mynameid;
    int tonameid;
    int groupid;
    int serial;
    int filesize;
    int numflag;
    int operationflag;
};
typedef struct Message Msg;
struct FileMessage
{
    int size;
    int flag;
    char filename[20];
    char file[102400];
    
};
typedef struct FileMessage FMsg;
struct Clinet 
{

    int mynameid;;
    int sock;
    int onlineflag;
};
typedef struct Clinet  C;
void ServerUserLoginRegistration(int clinetsock,Msg *m,DLList *list);

void ServerAdminOperation(int clinetsock,Msg *m,DLList *list);


#endif